global count uout
rng shuffle
%load outfile1.mat;
uguess= [5e-2*(rand([1 4])-0.5)];
%uguess = inparm; %*0.8;
%guess(end+1) = 1./5.;
%uguess = 1e-5*[0.5 1];
count = 0;
%x1=[0 0 ];
%x2 = 1e-2*[1 1];
options = optimset('Algorithm','quasi-newton','Display','iter','TypicalX',uguess);
[uout,fval,exit] = fminsearch('drive',uguess) 
save('results.mat','uout')
%drive(uout)
